tools: Fix build with recent QEMU, use "--enable-trace-backends"
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 7 Feb 2023 15:57:22 +0000 (16:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Feb 2023 15:57:22 +0000 (16:57 +0100)
commit1d7a388e7b9711cbd7e14b2020b168b6789772af
tree78d137fc5dcc87b324cf44423e500b09d664e65a
parenta470a83c36c07b56d90957ae1e6e9ebc458d3686
tools: Fix build with recent QEMU, use "--enable-trace-backends"

The configure option "--enable-trace-backend" isn't accepted anymore
and we should use "--enable-trace-backends" instead which was
introduce in 2014 and allow multiple backends.

"--enable-trace-backends" was introduced by:
    5b808275f3bb ("trace: Multi-backend tracing")
The backward compatible option "--enable-trace-backend" is removed by
    10229ec3b0ff ("configure: remove backwards-compatibility and obsolete options")

As we already use ./configure options that wouldn't be accepted by
older version of QEMU's configure, we will simply use the new spelling
for the option and avoid trying to detect which spelling to use.

We already make use if "--firmwarepath=" which was introduced by
    3d5eecab4a5a ("Add --firmwarepath to configure")
which already include the new spelling for "--enable-trace-backends".

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jason Andryuk <jandryuk@gmail.com>
master commit: e66d450b6e0ffec635639df993ab43ce28b3383f
master date: 2023-01-11 10:45:29 +0100
tools/Makefile